<?php
declare (strict_types = 1);
namespace app\api\controller;
use app\api\BaseController;
use Firebase\JWT\JWT;
use Firebase\JWT\Key;
use think\facade\Db;
use think\facade\Request;

class Common extends BaseController
{
	protected $middleware = [ 
    	
    ];
	// 调用显示单页
	public function info(){
	  $data['help']= Db::name('page')->where('id',1)->field('content')->find();
	  $data['process']= Db::name('page')->where('id',3)->field('content')->find();
	  $data['scheme']= Db::name('page')->where('id',4)->field('content')->find();
	  $data['instructions']= Db::name('page')->where('id',5)->field('content')->find();
	  $data['question']= Db::name('page')->where('id',6)->field('content')->find();
	  return json(['code'=>200,'msg'=>'请求成功','data'=>$data]);
	}

}
